<template lang="html">
  <div>
    <transition name="fade-transform" mode="out-in">
      <router-view />
    </transition>
  </div>
</template>

<script>
export default{
  methods:{
    formatTime(value) {
      if(!value) return '';
      let oDate = new Date(value);
      let h = oDate.getHours()<10?'0'+oDate.getHours():oDate.getHours();
      let m = oDate.getMinutes()<10?'0'+oDate.getMinutes():oDate.getMinutes();
      let s = oDate.getSeconds()<10?'0'+oDate.getSeconds():oDate.getSeconds();
      return oDate.getFullYear()+'-'+(oDate.getMonth()+1)+'-'+oDate.getDate()+' '+h+':'+m+':'+s;
    },
  }
}
</script>
<style >
  @import '../../../static/style.css';
  .form_input{
    width: 200px;
  }
  .userinfo{
    line-height: 30px;
    font-size: 14px;
    text-align: left;
  }
  .pro{
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
  }
  .pro_image{
    width: 80px;
    height: 100px;
    display: flex;
    margin-right: 15px;
    align-items: center;
    overflow: hidden;
  }
  .pro_image img{
    width: 100%;
    display: block;
  }
  .pro_info{
    line-height: 25px;
    text-align: left;
    width: 65%;
  }
  .pro_name{
    color: #666666;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .num_color,.address{
    color: #999;
  }
  .total{
      padding-top: 20px;
      font-size: 14px;
      text-align: right;
  }
  .totalSpan{
    font-size:18px;
    color:#FB3D3D;
    font-weight:600;
  }
</style>
